package com.ruoyi.system.service.impl;

import java.util.List;
import java.util.Map;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.SysYyZhouhuiFixedMapper;
import com.ruoyi.system.domain.SysYyZhouhuiFixed;
import com.ruoyi.system.service.ISysYyZhouhuiFixedService;

/**
 * SysYyZhouhuiFixedService业务层处理
 * 
 * @author SYF
 * @date 2025-06-10
 */
@Service
public class SysYyZhouhuiFixedServiceImpl implements ISysYyZhouhuiFixedService 
{
    @Autowired
    private SysYyZhouhuiFixedMapper sysYyZhouhuiFixedMapper;

    /**
     * 查询SysYyZhouhuiFixed
     * 
     * @param yYear SysYyZhouhuiFixed主键
     * @return SysYyZhouhuiFixed
     */
    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public SysYyZhouhuiFixed selectSysYyZhouhuiFixedByYYear(String yYear)
    {
        return sysYyZhouhuiFixedMapper.selectSysYyZhouhuiFixedByYYear(yYear);
    }

    /**
     * 查询SysYyZhouhuiFixed列表
     * 
     * @param sysYyZhouhuiFixed SysYyZhouhuiFixed
     * @return SysYyZhouhuiFixed
     */
    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<SysYyZhouhuiFixed> selectSysYyZhouhuiFixedList(SysYyZhouhuiFixed sysYyZhouhuiFixed)
    {
        return sysYyZhouhuiFixedMapper.selectSysYyZhouhuiFixedList(sysYyZhouhuiFixed);
    }

    /**
     * 新增SysYyZhouhuiFixed
     * 
     * @param sysYyZhouhuiFixed SysYyZhouhuiFixed
     * @return 结果
     */
    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public int insertSysYyZhouhuiFixed(SysYyZhouhuiFixed sysYyZhouhuiFixed)
    {
        return sysYyZhouhuiFixedMapper.insertSysYyZhouhuiFixed(sysYyZhouhuiFixed);
    }

    /**
     * 修改SysYyZhouhuiFixed
     * 
     * @param sysYyZhouhuiFixed SysYyZhouhuiFixed
     * @return 结果
     */
    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public int updateSysYyZhouhuiFixed(SysYyZhouhuiFixed sysYyZhouhuiFixed)
    {
        return sysYyZhouhuiFixedMapper.updateSysYyZhouhuiFixed(sysYyZhouhuiFixed);
    }

    /**
     * 批量删除SysYyZhouhuiFixed
     * 
     * @param yYears 需要删除的SysYyZhouhuiFixed主键
     * @return 结果
     */
    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public int deleteSysYyZhouhuiFixedByYYears(String[] yYears)
    {
        return sysYyZhouhuiFixedMapper.deleteSysYyZhouhuiFixedByYYears(yYears);
    }

    /**
     * 删除SysYyZhouhuiFixed信息
     * 
     * @param yYear SysYyZhouhuiFixed主键
     * @return 结果
     */
    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public int deleteSysYyZhouhuiFixedByYYear(String yYear)
    {
        return sysYyZhouhuiFixedMapper.deleteSysYyZhouhuiFixedByYYear(yYear);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectZhStatu(String year){
        return sysYyZhouhuiFixedMapper.selectZhStatu(year);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectBigDepts(String year){
        return sysYyZhouhuiFixedMapper.selectBigDepts(year);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectSubDepts(String year){
        return sysYyZhouhuiFixedMapper.selectSubDepts(year);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectBrands(String year){
        return sysYyZhouhuiFixedMapper.selectBrands(year);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectYears(String year){
        return sysYyZhouhuiFixedMapper.selectYears(year);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectSummaryData(SysYyZhouhuiFixed sysYyZhouhuiFixed){
        return sysYyZhouhuiFixedMapper.selectSummaryData(sysYyZhouhuiFixed);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectSubDeptSummaryData(SysYyZhouhuiFixed sysYyZhouhuiFixed){
        return sysYyZhouhuiFixedMapper.selectSubDeptSummaryData(sysYyZhouhuiFixed);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectBrandSummaryData(SysYyZhouhuiFixed sysYyZhouhuiFixed){
        return sysYyZhouhuiFixedMapper.selectBrandSummaryData(sysYyZhouhuiFixed);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectDetailSummaryData(SysYyZhouhuiFixed sysYyZhouhuiFixed){
        return sysYyZhouhuiFixedMapper.selectDetailSummaryData(sysYyZhouhuiFixed);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectSubDeptTotalData(SysYyZhouhuiFixed sysYyZhouhuiFixed){
        return sysYyZhouhuiFixedMapper.selectSubDeptTotalData(sysYyZhouhuiFixed);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectBrandsTotalData(SysYyZhouhuiFixed sysYyZhouhuiFixed){
        return sysYyZhouhuiFixedMapper.selectBrandsTotalData(sysYyZhouhuiFixed);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public Map<String,Object> selectCustomerSummary(String month){
        return sysYyZhouhuiFixedMapper.selectCustomerSummary(month);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public Map<String,Object> selectCustomerSummaryByArea(String month,String area){
        return sysYyZhouhuiFixedMapper.selectCustomerSummaryByArea(month,area);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public Map<String,Object> selectCustomerSummaryMap(String sql){
        return sysYyZhouhuiFixedMapper.selectCustomerSummaryMap(sql);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectCustomerAreasInfo(){
        return sysYyZhouhuiFixedMapper.selectCustomerAreasInfo();
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectCustomerYearsInfo(){
        return sysYyZhouhuiFixedMapper.selectCustomerYearsInfo();
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectCustomerYearsAscInfo(){
        return sysYyZhouhuiFixedMapper.selectCustomerYearsAscInfo();
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectCustomerIncreaseSummary(String sql){
        return sysYyZhouhuiFixedMapper.selectCustomerIncreaseSummary(sql);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectCgQtyList(String sql){
        return sysYyZhouhuiFixedMapper.selectCgQtyList(sql);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectCgMoneyList(String sql){
        return sysYyZhouhuiFixedMapper.selectCgMoneyList(sql);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectCgDetailList(String sql){
        return sysYyZhouhuiFixedMapper.selectCgDetailList(sql);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectCgTotalSummary(String sql){
        return sysYyZhouhuiFixedMapper.selectCgTotalSummary(sql);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectRisePriceSummary(String sql){
        return sysYyZhouhuiFixedMapper.selectRisePriceSummary(sql);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectCgVendorSummary(String sql){
        return sysYyZhouhuiFixedMapper.selectCgVendorSummary(sql);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectCgMonthSummary(String sql){
        return sysYyZhouhuiFixedMapper.selectCgMonthSummary(sql);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectWeeksInfo(String sql){
        return sysYyZhouhuiFixedMapper.selectWeeksInfo(sql);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectSourcesInfo(String sql){
        return sysYyZhouhuiFixedMapper.selectSourcesInfo(sql);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectPlatFansTypes(String sql){
        return sysYyZhouhuiFixedMapper.selectPlatFansTypes(sql);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectPlatFansYears(String sql){
        return sysYyZhouhuiFixedMapper.selectPlatFansYears(sql);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectPlatFansData(String sql){
        return sysYyZhouhuiFixedMapper.selectPlatFansData(sql);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectWeekIncreaseSummary(String adtime){
        return sysYyZhouhuiFixedMapper.selectWeekIncreaseSummary(adtime);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectWeekIncreaseSummaryByArea(String area,String adtime){
        return sysYyZhouhuiFixedMapper.selectWeekIncreaseSummaryByArea(area,adtime);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectLastWeekCustomers(String year){
        return sysYyZhouhuiFixedMapper.selectLastWeekCustomers(year);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectBigDeptsFg(){
        return sysYyZhouhuiFixedMapper.selectBigDeptsFg();
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectFgAreaSummary(){
        return sysYyZhouhuiFixedMapper.selectFgAreaSummary();
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectFgAreaSummaryByArea(String area){
        return sysYyZhouhuiFixedMapper.selectFgAreaSummaryByArea(area);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectFgMonthBigDeptAndArea(String year,String area){
        return sysYyZhouhuiFixedMapper.selectFgMonthBigDeptAndArea(year,area);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectFgMonthDepts(String year){
        return sysYyZhouhuiFixedMapper.selectFgMonthDepts(year);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectFgMonthAreaSummary(String year){
        return sysYyZhouhuiFixedMapper.selectFgMonthAreaSummary(year);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectFgMonthAreaSummaryByArea(String year,String area){
        return sysYyZhouhuiFixedMapper.selectFgMonthAreaSummaryByArea(year,area);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectFgMonthData(String year,String area){
        return sysYyZhouhuiFixedMapper.selectFgMonthData(year,area);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectCgCls(String year){
        return sysYyZhouhuiFixedMapper.selectCgCls(year);
    }

    @Override
    @DataSource(DataSourceType.SLAVEDW)
    public List<Map<String,Object>> selectCgIfwk(String year){
        return sysYyZhouhuiFixedMapper.selectCgIfwk(year);
    }
}
